package com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.view;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.hzdesk.media.matvector.koreabatch.client.my_paperless.R;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.base.BaseActivity;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.contract.IMessageContentListContract;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.persenter.MessageContentListPersenter;

/**
 * Created by Administrator on 2018/8/14.
 * 杭州席媒科技有限公司  Developers  刘传华  10
 * 佛祖镇楼 bug辟易
 */

public class MessageContentListActivity extends BaseActivity implements IMessageContentListContract.IMessageContentListView {

    private RecyclerView recyclerView;
    private MessageContentListPersenter mMessageContentListPersenter = new MessageContentListPersenter(this);

    @Override
    protected void userAgreedPermissions() {

    }

    @Override
    protected View AddLayoutView() {
        View view = View.inflate(this, R.layout.activity_my_message_content_list,null);
        recyclerView = view.findViewById(R.id.activity_my_message_content_list_recyclerview);
        return view;
    }

    @Override
    protected void initChildViewDate() {
        mMessageContentListPersenter.initTitle();
        mMessageContentListPersenter.initRecyclerView(recyclerView,this);
    }

    @Override
    protected void onClickedTvRight() {

    }

    @Override
    protected void onClickedIvRight() {

    }

    @Override
    protected void onClickedIvLeft() {

    }

    @Override
    public void showTitle() {
        showTilteBg();
        showTitleContent();
        showTileIvLeft();
        //设备管理(6)
        setTitleContent("席媒·可立批云服务", 0xffffffff);
        setIvLeftIcon(R.mipmap.left_white_return);
        setTitleContentSize(16);
    }
}
